<?php
use frontend\assets\AppAsset;
use common\helps\tools;

AppAsset::register($this);
$this->title = empty($news_detail['article_title']) ? '文章详情' : $news_detail['article_title'];
$image_bath_url = Yii::$app->params['static'];
?>
<?php
AppAsset::addCss($this, $image_bath_url . "/static/common/poster/posterTvGrid.css");
AppAsset::addCss($this, $image_bath_url . "/static/pc/css/about-us.css");
AppAsset::addCss($this, $image_bath_url . "/static/pc/css/common/proudct-left.css");
?>
<style>
<!--
.about_news_center .news_content .formal_description strong span{
	font-weight:600 !important;
}
-->
</style>
<article class="w mt40 br4">
    <!-- history url-->
    <!--<div class="content_url product-w mt40">
        <p><a href="javascript:;"> 首页</a> > <a href="javascript:;">关于我们</a> > <a href="javascript:;">新闻动态</a> > <a href="javascript:;">新闻动态详情</a> </p>
    </div>-->
    <!-- history url End-->
    <section class="product-w about-content">

        <div class="content-right-box form-w">
           <!-- <div class="title">
                <h3>新闻动态</h3>
            </div>-->
            <div class="about_news_center mt30">
               <!-- <div class="news_banner posterTvGrid" id="posterTvGrid" >
                </div>-->
                <div class="news_content mt40">
                    <div class="news_content_title">
                        <h1><?=(tools::arrayHasValue($news_detail,'article_title') ? $news_detail['article_title'] : '')?></h1>
                        <p class="item_time">发布时间：<time><?=(tools::arrayHasValue($news_detail,'edit_time') ? $news_detail['edit_time'] : '')?></time></p>
                    </div>
                    <div class="news_content_info mt30 formal_description">
                        <?=(tools::arrayHasValue($news_detail,'formal_description') ? $news_detail['formal_description'] : '')?>
                    </div>
                </div>
            </div>
        </div>
    </section>
</article>
<input id="image_bath_url" type="hidden" value="<?=$image_bath_url.'/'?>"/>
<?php
AppAsset::addJs($this,$image_bath_url."/static/common/poster/posterTvGrid.js");
AppAsset::addJs($this,$image_bath_url."/static/pc/js/about-us-2.js?version=".Yii::$app->params['version']);
?>
<script type="text/javascript">
    var article_detail_pic = '<?=(tools::arrayHasValue($news_detail,'article_detail_pic') ? $news_detail['article_detail_pic'] : '')?>';
</script>